<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<h1>注册界面</h1>
<form action = "/hw2/register" method="post">
    用户名:<input type = "text" name="username"><br>
    密码:&nbsp;&nbsp;&nbsp;<input type = "password" name = "password"><br>
    性别:&nbsp;&nbsp;&nbsp;<input type = "text" name="gender"><br>
    爱好:&nbsp;&nbsp;&nbsp;<input type = "text" name="hobby"><br>
    <input type = "submit" value="提交">
</form>

</body>
</html>